.left-box {
    display: flex;
    flex-direction: column;

    >div:not(.ziyuan) {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 0 10px;
        box-sizing: border-box;
    }


    .ziyuan {
        height: auto !important;
        padding: 0 20px;

        .ziyuan-info {
            margin-top: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .info-item {
                flex: 1;
                text-align: center;
                margin-right: 10px;

                &:last-child {
                    margin-right: 0;
                }

                >img {
                    display: block;
                    width: 100%;
                    max-width: 60px;
                    min-width: 46px;
                    margin: 0 auto;
                }

                >p {
                    color: #fff;
                    font-size: 12px;
                    line-height: 26px;
                }

                >h3 {
                    color: #FFF000;
                    font-size: 14px;
                    line-height: 26px;
                }
            }
        }
    }

    .chart-box {
        flex: 1;
        width: 100%;
        // height: 170px;
    }

    .visitor-number-chart {
        flex: 1;
        position: relative;

        >div {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    }

    // 点击切换echarts
    .change-box {
        position: relative;
        height: 45px;
        padding: 10px 0;

        .line-box {
            position: absolute;
            top: 14px;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #14C6CA;
            z-index: 0;
        }

        ul {
            position: absolute;
            width: 100%;
            height: 25px;
            display: flex;
            justify-content: space-around;
            z-index: 1;

            li {
                text-align: center;
                color: #fff;
                font-size: 12px;
                cursor: pointer;

                i {
                    display: block;
                    margin: 0 auto;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background-color: #fff;
                    margin-bottom: 5px;
                }

                &.active {
                    color: #14C6CA;

                    >i {
                        width: 10px;
                        height: 10px;
                        background-color: #14C6CA;
                    }
                }
            }
        }
    }

    // 两个图
    .chart-flex {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;

        >div {
            flex: 1;
            display: flex;
            flex-direction: column;

        }
    }
}

.right-box {
    display: flex;
    flex-direction: column;

    >div {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 0 10px 10px 10px;
        
    }
    >div:nth-of-type(4){
        flex:1.08;
    }

    // 预警信息列表
    .info-list {
        max-height: 165;
        overflow: auto;
        margin-right: -10px;

        >p {
            display: flex;
            justify-content: space-between;
            line-height: 26px;
            font-size: 12px;
            padding-left: 17px;
            padding-right: 5px;

            .listItem-left {
                color: #FBCE33;
                // font-weight: bold;
                >i{
                    color:rgba(255,255,255,.9);
                }
                
            }

            .listItem-right {
                em {
                    color: rgba(255,255,255,.6);
                }

                a {
                    color: #13BDC2;
                    padding-left: 10px;
                }
            }
            &:nth-of-type(2){
                .listItem-left{
                    color: #DA7128;
                }
            }
        }
    }

    .chart-box {
        flex: 1;
        width: 100%;
        // height: 154px;
    }

    // 客源地
    .title-box {

        .customers-box,
        .brand-reputation-box {
            >a {
                display: inline-block;
                padding: 5px 10px;
                border-radius: 5px;
                background-color: rgba(255, 255, 255, 0.1);
                margin-left: 10px;

                >i {
                    color: #d0630a;
                }

                &.active {
                    background-color: rgba(255, 255, 255, 0.4);
                    color: #14C6CA;
                }
            }
            >a:nth-of-type(1){
                margin-left:0;
            }
        }

        .more {
            color: #fff;
        }

    }

    .customers-box-chart {
        flex: 1;
        position: relative;

        >div {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    }

    // 品牌口碑红黑榜
    .brand-reputatio-chart {
        flex: 1;
        position: relative;

        >div {
            display: flex;
            align-items:center;
            justify-content: space-around;
            position: absolute;
            width: 100%;
            height: 100%;
            color: #fff;

            >div {

                >h3 {
                    line-height: 24px;
                    font-size: 12px;
                    font-weight: normal;
                    margin: 5px 0;

                    >i {
                        color: #d0630a;
                    }
                }

                >p {
                    line-height:20px;
                    font-size: 12px;

                    em {
                        display: inline-block;
                        width: 25px;
                        padding-right: 10px;
                        box-sizing: border-box;
                    }
                }
            }


        }
    }
}

.center-box {
    display: flex;
    flex-direction: column;
    margin: 0 10px;

    >div:not(.center-title) {
        margin-bottom: 10px;

        &:last-child {
            margin-bottom: 0;
        }
    }

    .center-title {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom:38px;
        >div {
            text-align: center;

            h3 {
                font-size: 18px;
                color: #fff;
                line-height: 38px;
            }

            p {
                font-size: 32px;
                color: #FFF000;
                font-weight: bold;
                margin-top: 10px;
            }

            span {
                display: inline-block;
                padding: 4px;
                background-color: rgba(64, 127, 255, 0.2);
                border-radius: 4px;
                margin: 10px 2px;
            }

        }
    }

    // 地图
    .center-map-box {
        flex: 2;
        // height: 492px;
    }

    // 监控
    .monitor-box {
        padding:0 10px;
        margin-top:12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        background-image: -moz-linear-gradient(90deg, rgba(126, 165, 243, .12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);
        background-image: -webkit-linear-gradient(90deg, rgba(126, 165, 243, 0.12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);
        background-image: -ms-linear-gradient(90deg, rgba(126, 165, 243, 0.12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);

        .title-box {
            .selected {
                display: flex;

                .select-box {
                    position: relative;
                    width: 100px;
                    height: 32px;
                    margin-right: 10px;

                    select {
                        background-color: rgba(255, 255, 255, .1);

                    }
                }
            }

        }

        .video-box {
            flex: 1;
            margin: 8px 0;
            display: flex;
            justify-content: space-around;

            video {
                max-width: 130px;
                margin: 2px;
            }
        }
    }
}